package com.lyubia.shop.api.query;

import com.lyubia.shop.common.base.BaseQuery;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GoodsQuery extends BaseQuery {

    /**
     * 分类id
     */
    private Integer catId;

    /**
     * 品牌id
     */
    private Short brandId;

    /**
     * 是否上架
     */
    private Byte isOnSale;

    /**
     * 是否新品
     */
    private Byte isNew;

    /**
     * 是否推荐
     */
    private Byte isRecommend;

    /**
     * 商品名称
     */
    private String goodsName;
}
